package com.yibs.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author liwh
 * @title: LoginDto
 * @projectName ifs-manager
 * @description: TODO
 * @date 2020/7/2819:25
 */
@Data
public class LoginDto implements Serializable {

    @NotBlank(message = "昵称不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}